FROM harbor.saas.bzlrobot-ift.com/blm/visioncloudweb:v3.1.3
ENV LANG "C.UTF-8"
ENV ASPNETCORE_ENVIRONMENT ${ASPNETCORE_ENVIRONMENT}
ENV TZ "Asia/Shanghai"
WORKDIR /app
EXPOSE 8090

COPY bin/publish/ .
COPY bin/publish/lib /usr/local/lib
COPY bin/publish/font /usr/local/font

RUN pwd && cat appsettings.json && ls -l \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/task-data \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/task-report-data \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/task-data-backup \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/task-dotcloud-data \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/MeasuringService \
&& mkdir -m 755 -p /shareFiles/dotcloud/minio/data/algorithm-template 

ENTRYPOINT ["dotnet", "VisionCloud.Web.dll","--urls","http://0.0.0.0:8090"]